package com.yudaxian.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author yudaxian
 * @since 2023-12-13
 */
@TableName("x_pipe")
public class Pipe implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String pipeNumber;

    private String pipeName;

    private Integer pipeModel;

    private String pipeGenerateTime;

    private String pipeCreateTime;

    private Integer pipeItem;

    private Integer pipeSensor;

    @TableField(exist = false)
    private String pipeModelName;

    @TableField(exist = false)
    private String pipeItemName;

    public String getPipeItemName() {
        return pipeItemName;
    }

    public void setPipeItemName(String pipeItemName) {
        this.pipeItemName = pipeItemName;
    }

    public String getPipeSensorName() {
        return pipeSensorName;
    }

    public void setPipeSensorName(String pipeSensorName) {
        this.pipeSensorName = pipeSensorName;
    }

    @TableField(exist = false)
    private String pipeSensorName;

    public String getPipeModelName() {
        return pipeModelName;
    }

    public void setPipeModelName(String pipeModelName) {
        this.pipeModelName = pipeModelName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getPipeNumber() {
        return pipeNumber;
    }

    public void setPipeNumber(String pipeNumber) {
        this.pipeNumber = pipeNumber;
    }
    public String getPipeName() {
        return pipeName;
    }

    public void setPipeName(String pipeName) {
        this.pipeName = pipeName;
    }
    public Integer getPipeModel() {
        return pipeModel;
    }

    public void setPipeModel(Integer pipeModel) {
        this.pipeModel = pipeModel;
    }

    public String getPipeGenerateTime() {
        return pipeGenerateTime;
    }

    public void setPipeGenerateTime(String pipeGenerateTime) {
        this.pipeGenerateTime = pipeGenerateTime;
    }

    public String getPipeCreateTime() {
        return pipeCreateTime;
    }

    public void setPipeCreateTime(String pipeCreateTime) {
        this.pipeCreateTime = pipeCreateTime;
    }

    public Integer getPipeItem() {
        return pipeItem;
    }

    public void setPipeItem(Integer pipeItem) {
        this.pipeItem = pipeItem;
    }
    public Integer getPipeSensor() {
        return pipeSensor;
    }

    public void setPipeSensor(Integer pipeSensor) {
        this.pipeSensor = pipeSensor;
    }

    @Override
    public String toString() {
        return "Pipe{" +
            "id=" + id +
            ", pipeNumber=" + pipeNumber +
            ", pipeName=" + pipeName +
            ", pipeModel=" + pipeModel +
            ", pipeGenerateTime=" + pipeGenerateTime +
            ", pipeCreateTime=" + pipeCreateTime +
            ", pipeItem=" + pipeItem +
            ", pipeSensor=" + pipeSensor +
        "}";
    }
}
